@font-face {
    font-family: 'Open Sans';
    src: url('/assets/dist/fonts/open_sans/open_sans_regular.ttf');
}

@font-face {
    font-family: 'Open Sans';
    src: url('/assets/dist/fonts/open_sans/open_sans_bold.ttf');
    font-weight: bold;
}

@font-face {
    font-family: 'Open Sans';
    src: url('/assets/dist/fonts/open_sans/open_sans_italic.ttf');
    font-style: italic;
}

:root {
    --dark-blue: #14477C;
    --soft-blue: #26a9e0;
    --dark-gray: #666666;
    --soft-gray: #e6e6e6;
}

* {
    font-size: inherit;
    font-family: inherit;
    font-weight: inherit;
    color: inherit;
    box-sizing: border-box;
    /* text-align: inherit; */
    /* text-transform: inherit; */
}

html {
    font-family: 'Open Sans', sans-serif;
    font-size: 100%;
    color: #666666;
    -webkit-tap-highlight-color:  rgba(255, 255, 255, 0); 
}

body {
    display: flex;
    flex-direction: column;
    margin: 0;
    min-height: 100vh;
}

.backgroundNielsen {
    background-image: url('/assets/src/images/nielsen/bg_login.png');
    background-color:  var(--dark-blue);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.pageContent {
    flex-grow: 1;
}

.siteWrapper {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    max-width: 1280px;
}

select, textarea,
input[type='text'], input[type='name'], input[type='password'],
input[type='email'], input[type='number'], input[type='date'],
input[type='file'] {
    padding: 5px 10px;
    border: 1px solid rgba(0, 0, 0, 0.3);
    background-color: transparent;
    border-radius: 5px;
    outline: none;
    min-height: 35px;
    line-height: 35px;
    vertical-align: middle;
}

select {
    cursor: pointer;
}

input[type="color"] {
    border: none;
    min-width:  20px;
    min-height: 20px;
    max-width:  20px;
    max-height: 20px;
    padding: 0;
    background-color: transparent;
}

::-webkit-input-placeholder { color: rgba(0,0,0,0.3); }
:-ms-input-placeholder { color: rgba(0,0,0,0.3); }
::placeholder { color: rgba(0,0,0,0.3); }

.button.primary,
.button.secundary {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;    
    outline: none;
    border: none;
    border-radius: 60px;
    transition: 0.3s;
    text-transform: uppercase;    
    padding: 7px 20px;    
    text-decoration: none;
    cursor: pointer;
    min-height: 35px;
    background-color: var(--soft-blue);
    color: var(--dark-blue);
    font-size: 15px;
    font-weight: bold;
}
.button:hover {
    background-color: var(--dark-blue); 
    color: var(--soft-blue);
  }

.button.secundary {
    background-color: transparent;
    color: var(--soft-blue);
    border: 2px solid var(--soft-blue);
    min-height: 33px;
    padding-top: 6px;
    padding-bottom: 6px;
}

.button.secundary:hover {
    color: var(--dark-blue);
    border-color: var(--dark-blue);
}

table .button {
    width: max-content;
}

.button.primary.small,
.button.secundary.small,
table .button {
    font-size: 80%;
    padding: 4px 15px;
    min-height: unset;
}

button:active, .button:active {
    transform: scale(0.9);
}

/* style-guide */
.header-text{
    font-size: 15px;
    font-weight: bold;
    line-height: 25.2px;
}

h1 {
    text-align: left;
    font-size: 150%;
    font-weight: bold;
    color: var(--dark-gray);
    margin: 40px 0 0 10px;
}

h1::before {
    content: "";
    display: inline-block;
    width: 60px;
    height: 5px;
    border-radius: 5px;
    background-color: var(--soft-blue);
    margin-right: 10px;
    vertical-align: middle;
}

h2 {
    font-size: 125%;
    text-align: left;
    font-weight: bold;
    color: var(--dark-gray);
}

fieldset {
    border: 1px solid rgba(0,0,0,0.3);
    border-radius: 10px;
}

fieldset legend {
    padding: 0 10px;
    font-size: 80%;
    text-transform: uppercase;
}

.formLine {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    flex-wrap: wrap;
    width: 100%;
}

.formLine > * {
    margin: 10px;
}

.formColumn {
    display: flex;
    flex-direction: column;
    flex: 0 0 263px;
    position: relative;
}

input[readonly], input[disabled]{
    background-color: #eee;
    opacity: 1;
}

.formColumn > input,
.formColumn > select,
.formColumn > textarea {
    width: 100%;
}

.formColumn > * + * {
    margin-top: 5px;
}

.formColumn .descriptionCep {
    font-size: 80%;
    position: absolute;
    right: 0;
    top: -5px;
}

.fsInput .linkFindCep {
    position: absolute;
    right: 10px;
    top: -15px;
    margin-top: 0;
    font-size: 75%;
    background-color: white;
    padding: 0 7px;
}

.fsInput #lblIeIsento {
    position: absolute;
    background-color: white;
    padding: 0 5px;
    bottom: -8px;
    right: 15px;
}

.formLabel {
    font-size: 80%;
    font-weight: bold;
}

.lblCheckbox {
    display: flex;
    flex-direction: revert;
    align-items: center;
    font-size: 90%;
    width: max-content;
}

.lblCheckbox input {
    min-width: 15px;
    margin-right: 10px;
}

.formDivSeparator{
    background-color: #064B85;
}

.formSeparator{
    margin: 0 auto;
    font-size: 30px;
    text-transform: uppercase;
    font-weight: bold;
    color:  #064B85;
    margin-left: 20px;
    padding-left: 10px;
    padding-right: 10px;
    background-color: white;
}

.centerElements * {
    justify-content: center;
    text-align: center;
}

.boxDecoration {
    background-color: #FFF;
    border-radius: 10px;
    position: relative;
}

.boxMessage {
    padding: 15px 20px;
    text-align: center;
    border: 1px solid rgba(3, 3, 3, 0.3);
    background-color: rgba(0,0,0,0.1);
    border-radius: 10px;
}

.boxMessage.warning {
    border: 1px solid #987123;
    background-color: rgba(255, 188, 0, 0.4);
    color: #987123;
}

.boxMessage.error {
    border: 1px solid #d93025;
    background-color: rgba(255, 0, 0, 0.4);
    color: #d93025;
}

.boxMessage.success {
    border: 1px solid #29750b;
    background-color: rgba(122, 255, 0, 0.4);
    color: #29750b;
}

.boxMessage.info {
    border: 1px solid #17567b;
    background-color: rgba(0, 161, 255, 0.4);
    color: #17567b;
}

.breadcrumb {
    list-style: none;
    display: flex;
    flex-direction: row;
    padding: 0;
}

.breadcrumb a {
    text-decoration: none;
}

.breadcrumb > li + li {
    margin-left: 5px;
}

.breadcrumb > li + li::before {
    content: "/";
    margin-right: 5px;
}

.breadcrumb > li:last-child {
    font-weight: bold;
}

table, .tbl {
    max-width: 100%;
    border-collapse: collapse;
}

table th, table td,
.tbl th, .tbl td {
    padding: 20px 10px;
}

table thead tr th {
    text-transform: capitalize;
    font-weight: bold;
    color: var(--dark-blue);
}

table thead tr:last-of-type {
    border-bottom: 2px solid var(--soft-blue) !important;
}

table tbody tr, .tbl tbody tr {
    border-bottom: 1px solid var(--soft-blue) !important;
}

table tbody tr:hover,
.tbl tbody tr:hover {
    background-color: rgb(0 0 0 / 5%);
}

table .button.primary,
table .button.secundary {
    background-color: var(--dark-blue);
    color: white;
    border: none;
}

table .button.primary:hover,
table .button.secundary:hover {
    color: white;
    background-color: var(--soft-blue);
}

.badge {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    min-width: 25px;
    min-height: 25px;
    max-width: 20px;
    max-height: 20px;
    color: #FFF;
    background-color: #808080;
    border-radius: 20px;
    line-height: 1;
    font-size: 90%;
}

hr {
    border: 1px solid rgb(0 0 0 / 0.1);
    width: calc(100% - 40px);
}

strong {
    font-weight: bold;
}

.alert {
    padding: 15px 20px;
    text-align: center;
    border: 1px solid rgba(0,0,0,0.3);
    background-color: rgba(0,0,0,0.1);
    border-radius: 10px;
}

.alert.warning {
    border: 1px solid #987123;
    background-color: rgba(255, 188, 0, 0.4);
    color: #987123;
}

.alert.error {
    border: 1px solid #b50000;
    background-color: rgba(255, 0, 0, 0.4);
    color: #b50000;
}

.alert.success {
    border: 1px solid #29750b;
    background-color: rgba(122, 255, 0, 0.4);
    color: #29750b;
}

.alert.info {
    border: 1px solid #17567b;
    background-color: rgba(0, 161, 255, 0.4);
    color: #17567b;
}

/* style-guide */
label.error span {
    font-style: normal;
    font-size: 14px;
    color: #d93025;
    line-height: 25.2px;
    font-weight: 400;
    text-align: center;
}
label.error input {
    border: 1px solid #d93025;
    margin: 0;
}

.flexPaginator .linkPage {
    margin: 5px;
    border: 1px solid #00247f;
    color: #00247f;
    padding: 5px 10px;
    border-radius: 10px;
    background-image: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1));
    min-width: max-content;
}

.fsInput {    
    padding: 0px 5px 5px 10px;    
}


@media only screen and (max-width: 600px)
{
    h1 {
        font-size: 125%;
    }

    .formLine > * {
        flex-grow: 1;
    }

    .formColumn {
        flex-grow: 1;
    }
}
